package com.example.websocketdemo.API;

import java.util.HashMap;
import java.util.Map;

public class test {
    private static Map<String, String> liquidLevel;
    public static void main(String[] args) {
        if (liquidLevel == null)
        System.out.println("111");



        System.out.println("SCADA_A_LT1011".substring(9,13));

            Map<Integer,Integer> m = new HashMap<Integer,Integer>();

            m.put(1, 1);

            print(m);

            m.put(1, 2);

            print(m);



    }

    private static void print(Map<Integer, Integer> m) {

        for(Map.Entry<Integer, Integer> mm : m.entrySet())

            System.out.println("K: "+mm.getKey()+",V: "+mm.getValue());

    }
}
